package com.example.demo.myspring;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.context.ServletContextAware;

import javax.servlet.ServletContext;
@Slf4j
@Component
public class MyServletInit implements ServletContextAware {
    @Override
    public void setServletContext(ServletContext servletContext) {
//        log.info(" ### setServletContext : " + servletContext.getContextPath());
    }
}
